<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.0</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <link rel="stylesheet" href="../../static/back_management/css/font.css">
    <link rel="stylesheet" href="../../static/back_management/css/xadmin.css">
</head>
<body>
<div class="x-body">
    <blockquote class="layui-elem-quote">欢迎使用京山市人民医院OA管理系统</blockquote>
    <fieldset class="layui-elem-field">
        <legend>信息统计</legend>
        <div class="layui-field-box">
            <table class="layui-table" lay-even style="text-align: center;">
                <thead>
                    <tr>
                        <th style="text-align: center;">统计</th>
                        <th style="text-align: center;">内部公文库</th>
                        <th style="text-align: center;">来文公文库</th>
                        <th style="text-align: center;">议题库</th>
                        <th style="text-align: center;">附件库</th>
                        <th style="text-align: center;">用户</th>
                    </tr>
                </thead>
                <tbody>
                    {% for all_data in all_data_list %}
                        <tr>
                            <td>{{ all_data.alldata }}</td>
                            <td>{{ all_data.AllMemoCount }}</td>
                            <td>{{ all_data.OfficialCount }}</td>
                            <td>{{ all_data.AllTopiCount }}</td>
                            <td>{{ all_data.AllMentsCount }}</td>
                            <td>{{ all_data.AllUserCount }}</td>
                        </tr>
                    {% endfor %}
                </tbody>
            </table>
            <div style="width: 100%;">
                <table class="layui-table">
                    <thead>
                        <tr>
                            <th colspan="2" scope="col">部门议题申请数量</th>
                        </tr>
                    </thead>
                    <tbody style="height: 400px;overflow: auto;">
                        {% for dep in def_list %}
                            <tr>
                                <td style="width: 50%;">{{ dep.dep }}</td>
                                <td>{{ dep.count }}</td>
                            </tr>
                        {% endfor %}

                    </tbody>
                </table>
            </div>
        </div>
    </fieldset>

</div>
<script>

</script>
</body>
</html>